﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SH = Decorator.Shape;

namespace Decorator.Decorator
{
    public abstract class ShapeDecorator : SH.Shape
    {
        protected SH.Shape shape;
        public ShapeDecorator(SH.Shape shape)
        {
            this.shape = shape;
        }
        public virtual void Draw()
        {
            shape.Draw();
        }
    }
}
